package com.demo.consumer2.feign;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xiaoxiangjie
 * @Description:
 * @Date: 2021/3/22
 */
@Component
public class FeignServerImpl implements FeignService {
    @Override
    public List getBookInfo(String name) {
        System.out.println("服务端error");
        return new ArrayList();
    }
}
